#ifndef __LL_NAND_H__
#define __LL_NAND_H__

#ifdef __cplusplus
extern "C" {
#endif

int NAND_IsBadBlock(UINT32 nBlock);
int NAND_ReadPage(UINT32 nBlock, UINT32 nPage, UINT8 *buffer);
int NAND_WritePage(UINT32 nBlock, UINT32 nPage, UINT8 *buffer);
int NAND_EraseBlock(UINT32 nBlock); 
int NAND_MarkBadBlock(UINT32 nBlock); 

#ifdef __cplusplus
}
#endif

#endif	// #ifndef __LL_NAND_H__
